package com.txsj.scan.http;

import com.txsj.scan.BuildConfig;

public interface UrlInterface {

    String rootUrl = "https://api.txooo.com/api/";
    String baseUrl = "https://pay.txooo.com/";
    //    String baseUrl2 ="https://gateway.txooo.com/test/";                               //测试库网关
    String baseUrl2 = BuildConfig.BASE_URL;                   //正式库网关

    //腾讯云网关鉴权
    public static String SECRETID = "AKIDj0Q580XiPORPYu7n7caPwuQTSk59BE6GFsD8";
    public static String SECRETKEY = "IhK84jdY0p3i0X7t1MeQ67En4ta0Ov1522nm9WJg";

    String verifyCode = baseUrl2 + "gzy/account/ifmobilecanlogin";               //验证手机号是否可以登录
    String getVerifyCode = rootUrl + "Market/account/SendMobileCode";                  //获取手机验证码
    String login = baseUrl2 + "gzy/account/cbooremployeelogin";                   //登录接口


    String getGoodsDataURL = baseUrl2 + "goods/getallgoodsdatapager";                   //分页获取商品库数据（用于扫码枪缓存）
    String getEpcDataURL = baseUrl2 + "epc/getalltagitemdatapager";                    //分页获取标签(tag_item)数据（用于扫码枪缓存）（密
    String getWareHouse = baseUrl2 + "wms/warehouse";                                     //仓库列表
    String commitAllocateGoods = baseUrl2 + "wms/bill/createallocationbyepc";          //提交商品列表进行调拨
    String goodsInventory = baseUrl2 + "wms/warehouse/inventory/batch";                 //指定商品库存

    String getGoodsClassList = baseUrl2 + "goodservice/getclasslist";           //获取商品左侧分类列表  获取商品分类列表
    String getGoodsList = baseUrl2 + "goods/list";                                      // 获取商品列表
    String getGoodsInventoryList = baseUrl2 + "wms/batch/GetGoodsListOlnyGoods";    // 指定仓库商品库存（按商品分组）
    String goodsBatchInventory = baseUrl2 + "wms/batch/GetBatchList";                // 指定仓库商品查询批次库存
    String commitBatchInfo = baseUrl2 + "wms/batch/createwithinventory";            // 添加批次
    String getWarehouseGoodsClassify = baseUrl2 + "goodservice/getclasslistwithwarehouse";            // 获取所有商品分类[指定仓库]
    String getInventoryIdList = baseUrl2 + "batch/getinventory";                    // [扫码枪]查询仓库中批次的库存id
    String commitInventoryChangeList = baseUrl2 + "wms/rectify/add";                // [扫码枪]查询仓库中批次的库存id  (调拨接口)
    String getBarCodeGoods = rootUrl + "Market/goods/QueryGoodsFromLibary";         //条形码查询商品库信息（新）
    String getQrCodeHttp = baseUrl2 + "v1/epc.api/get";                                //二维码查询商品库信息（新）
    String getGlobalListForCache = baseUrl2 + "v1/goods.api/getlistforcache";                //获取所有商品基本信息[全局缓存用]

    String ifMobileCanloginV2 = baseUrl2 + "gzy/account/ifmobilecanloginV2";                //购自由进销存-验证手机号能否登录V2
    String loginV2 = baseUrl2 + "gzy/account/cbooremployeeloginV2";                //购自由进销存-登录V2
    String getCompanyList = baseUrl2 + "gzy/account/getcompanylistV2";                //获取企业列表
    String preBindLabel = baseUrl2 + "v2/epc.api/prebind";                               //预绑定标签
    String getBatch = baseUrl2 + "wms/batch";                                           //获取商品批次详情
    String bindGoodsBatch = baseUrl2 + "epc/tagbindgoodsandbatch";                                           //获取商品批次详情
    String unBindGoodsBatch = baseUrl2 + "v1/epc.api/unbind";                   //解绑标签
    String getRFIDDetail = baseUrl2 + "v1/epc.api/get";                   //获取标签详情
    String getTagGroupList = baseUrl2 + "v1/epc.api/gettaggrouplist";                   //获取标签组信息
    String getCheckVersion = rootUrl + "Market/Account/CheckAppVersion";    //检测更新


    //获取调拨单列表
    String URLGetAllocationList = baseUrl2 + "wms/allocation/getallocationlist";

    //获取调拨单详情
    String URLGetAllocationListDetails = baseUrl2 + "wms/allocation/getallocationdetail";

    String URLFromcodeGetGoodsDaa = rootUrl + "Market/goods/QueryGoodsFromLibary";    //根据商品条码获取商品数据
    //    String searchGoods =  rootUrl +"Market/goods/SearchGoodsList";                     //搜索商品
    String test = baseUrl2 + "v1/authruletest.api/value";                               //测试接口

    String searchGoods = baseUrl + "v1/Goods.api/GetList";                     //搜索商品

    //检查标签是否可以进行调拨
    String checkEpcAllocationStatus = baseUrl2 + "v2/epc.api/GetAllocationStatus"; //  item2 == 4 则未入库  else  未出库

    //获取全部的待出库和待入库的标签数据
    String URLGetAllEpcTagIds = baseUrl2 + "v2/epc.api/GetTagAllByBrand";

    //获取调拨申请单详情
    String URLAllocationFormDetails = baseUrl2 + "wms/allocation/getallocationdetail";

    //获取员工列表
    String URLGetMemberList = baseUrl + "v2/employee.api/GetAllByBrand";

    //操作调拨状态
    String URLTakeAllocationFormStates = baseUrl + "v2/wms/bill.api/SetAllocationStatus";

    //调拨申请单获取批次数据
    String URLGetAllocationBatchList = baseUrl2 + "v2/wms/bill.api/GetBatchList";

    //审核通过
    String URLAllocationCheckStatus = baseUrl2 + "v2/wms/bill.api/CheckAllocationStatus";

}
